package com.ibeeking.gmc.global.service.common.dos;

import com.ibeeking.found.common.base.BaseDO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @ClassName TenantLegalInfoDO
 * @Description
 * @Author ibeeking
 * @Date 2020-12-24 16:34
 **/
@Data
@TableName("gmc_tenant_legal_info")
public class TenantLegalInfoDO extends BaseDO implements Serializable {
    private static final long serialVersionUID = 1L;


    /**
     * 租户id
     */
    @TableField(value = "tenant_id")
    private Integer tenantId;

    /**
     * 姓名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 操作人(1法人2代办人)
     */
    @TableField(value = "operator")
    private Integer operator;

    /**
     * 性别
     */
    @TableField(value = "sex")
    private Integer sex;

    /**
     * 身份证
     */
    @TableField(value = "id_card_no")
    private String idCardNo;

    /**
     * 出生年月
     */
    @TableField(value = "birthday")
    private String birthday;

    /**
     * 联系电话
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 邮政编码
     */
    @TableField(value = "post_code")
    private String postCode;

    /**
     * 联系地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 身份证_正面
     */
    @TableField(value = "id_card_up")
    private String idCardUp;

    /**
     * 身份证_反面
     */
    @TableField(value = "id_card_down")
    private String idCardDown;

    /**
     * '手持证件照片'
     */
    @TableField(value = "hand_hold_id_card")
    private String handHoldIdCard;

    /**
     * '证件类型'
     */
    @TableField(value = "id_card_type")
    private Integer idCardType;
    /**
     * '证件有效期类型（1：期间；2：长期有效）'
     */
    @TableField(value = "id_card_term_type")
    private Integer idCardTermType;
    /**
     * '证件开始日期'
     */
    @TableField(value = "id_card_term_start")
    private LocalDate idCardTermStart;
    /**
     * '证件结束日期'
     */
    @TableField(value = "id_card_term_end")
    private LocalDate idCardTermEnd;


}
